package com.xiaobai.java_core.polymorphic;

import lombok.extern.slf4j.Slf4j;

/**
 * @Author 王天文
 * @Date 2024/12/7 20:42
 * @Description: 多态特性练习
 */
@Slf4j
public class Animal {

    public void makeSound() {
        log.info("动物发出叫声");
    }
}
